How do I nest ${} in gsp
Posted
by Neoryder
on Stack Overflow
See other posts from Stack Overflow
or by Neoryder
Published on 2010-03-20T15:53:28Z
Indexed on
2010/03/20
17:21 UTC
Read the original article
Hit count: 368
This is in my gsp and it doesn't work
<g:select name="head.id" from="${com.hive.Persons.findAllByFirstname(${variable})}" optionKey="id" value="${organizationInstance?.head?.id}" />
I think that the main reason is that I am nesting ${}. How can I accomplish this. ${variable} is a string passed from the controller.
thanks!
© Stack Overflow or respective owner